stubdom: add videoram to stubdom initial memory reservation
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Jan 2009 16:41:48 +0000 (16:41 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Jan 2009 16:41:48 +0000 (16:41 +0000)
commitfa5078d4071a21e0e87d6d9418d950ea624d4ea8
treef91a787937165fb1d8f90974d16999ff04616644
parent441959385830ac73376a0502b036fa1de4e660fd
stubdom: add videoram to stubdom initial memory reservation

This patch adds a videoram parameter (4MB is the default) to pv guests
too: if the pv guest is actually a stubdomain then the videoram size
is added to the initial required available memory.
This way there is no risk that a stubdom fails to populate the
videoram because the RAM freed for the videoram by dom0 has already
been used to create the stubdom.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
stubdom/stubdom-dm
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py